This rule allows banning the usage of certain data set names.
Code examples
Noncompliant code example
Given the parameters:
- programs: SORT,ICEMAN
- ddNameField: SORTOUT
- allowedValues: AB\.[^.]*\.DEF
//EXEC PGM=SORT
//SORTOUT DD DSN=AB.FOOBAR.XYZ
Compliant solution
//EXEC PGM=SORT
//SORTOUT DD DSN=AB.FOOBAR.DEF